package com.mall.model.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class CreateOrderRequest {
    @NotBlank //收货人姓名快照
    private String receiverName;
    @NotBlank //收货人手机号快照
    private String receiverMobile;
    @NotBlank //收货人地址快照
    private String receiverAddress;
    @NotNull
    private Integer postage = 0; //运费
    private Integer paymentType = 1;//支付方式扫描支付
}